import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VModal from 'vue-js-modal';
import electron from 'electron';
import router from './router/index';
import db from './renderer/datastore.js';
import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/index.css'
import store from './store/store.js';
import vConsole from "./vconsole";
import APlayer from '@moefe/vue-aplayer';

Vue.use(APlayer, {
    defaultCover: 'https://github.com/u3u.png', // 设置播放器默认封面图片
    productionTip: true, // 是否在控制台输出版本信息
});

Vue.use(VXETable);
Vue.prototype.$db = db;

Vue.config.productionTip = false;

Vue.electron = Vue.prototype.$electron = electron;
Vue.use(ElementUI);
Vue.use(VModal, {
    dialog: true,
    dynamic: true
});
new Vue({
    store,
    render: h => h(App), router
}).$mount('#app');
